package com.main.usermanagement.domain.user.repository;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.main.usermanagement.domain.user.entity.UserInfo;
import com.main.usermanagement.domain.user.repository.mapper.UserInfoMapper;
import org.springframework.stereotype.Service;

@Service
public class UserInfoRepository extends ServiceImpl<UserInfoMapper, UserInfo> {
    public UserInfo findByUserId(Long userId) {
        return baseMapper.findByUserId(userId);
    }
}
